#include<iostream>
#include<opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int main(void)
{
	Mat image;
	VideoCapture cap;
	cap.open(0);
	if(!(cap. isOpened()))
	{
		cout << "open error" << endl;
	}
	cout << "start rrabbing" << endl;
	cap.read(image);
	imshow("camera",image);
	waitkey(0);
	return 0;
}

